//
//  LoanMaterialViewController.swift
//  EasyDana
//
//  Created by mac on 2024/10/11.
//

import UIKit
import RxSwift
class LoanMaterialViewController: UIViewController {

    let bag = DisposeBag()
    @IBOutlet weak var naviBar: NavigationBar!
    @IBOutlet weak var scrollView: UIScrollView!
    override func viewDidLoad() {
        super.viewDidLoad()
        self.scrollView.contentInsetAdjustmentBehavior = .never
        self.naviBar.backClicked
            .subscribe(onNext: { [weak self] _ in
                self?.navigationController?.popViewController(animated: true)
            })
            .disposed(by: self.bag)
        // Do any additional setup after loading the view.
    }


    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destination.
        // Pass the selected object to the new view controller.
    }
    */

}
